﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ThresholdAssistant.WebAPI.Models
{

    /// <summary>
    /// 二维码生成记录表
    /// </summary>
    [Table("t_create_qrcode_record")]
    public class CreateQrcodeRecord
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        [Column("id")]
        public long Id { get; set; }

        /// <summary>
        /// 成员id
        /// </summary>
        [Column("member_id")]
        public long MemberId { get; set; }

        /// <summary>
        /// 本地路径
        /// </summary>
        [Column("local_file_path")]
        public string LocalFilePath { get; set; }

        /// <summary>
        /// 二维码内容
        /// </summary>
        [Column("data")]
        public string Data { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("create_time")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("update_time")]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column("remark")]
        public string Remark { get; set; }
    }
}
